package com.weibiao.zhuhai.classloader;

public class CLInitDemo {
	public static class Hello{
		static {
			System.out.println("hello");
		}
	}
	public static void main(String[] args) {
		ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();
		String className = CLInitDemo.class.getName() +"$Hello";
		try {
//			systemClassLoader.loadClass(className);
			Class.forName(className);
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
	}
}
